一些細節小精靈


Posted by mijouhsieh on 2023-03-05

font-smooth

font-smooth MDN

/* Keyword values */
font-smooth: auto; (default)
font-smooth: never;
font-smooth: always;

/* <length> value */
font-smooth: 2em;

-webkit-font-smoothing: antialiased;

屬性只在 Mac OS X/macOS 下生效。

  • /- none - 關閉字體平滑;呈現鋸齒邊缘的文字。
  • antialiased - 平滑像素級別的字體。
  • subpixel-antialiased - 提供最清晰的文字。

-moz-osx-font-smoothing: grayscale;

屬性只在 Mac OS X / macOS 下生效。

  • /- auto - 允許瀏覽器選用字體平滑的優化方式,通常是 grayscale。
  • grayscale - 用灰度抗鋸齒渲染文本,而不是子像素。
  • inherit
  • unset

#font-smooth







Related Posts

CSS-[box-shadow]-陰影效果

CSS-[box-shadow]-陰影效果

Vue.js 學習旅程Mile 14 – Form Input Bindings 表單綁定篇:v-model

Vue.js 學習旅程Mile 14 – Form Input Bindings 表單綁定篇:v-model

如何用 TensorFlow object detection API 的 Single Shot MultiBox Detector 來做 hand detection

如何用 TensorFlow object detection API 的 Single Shot MultiBox Detector 來做 hand detection


Comments